import axios from '@/libs/api.request'

/* etc办理 */
export const insertEtc = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctccaretcdao/insertEtc',
    data: data,
    type: 'post'
  })
}

/* 查看etc申请成功未办理列表 */
export const getEtcList = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctccaretcdao/getEtcList',
    data: data,
    type: 'post'
  })
}

/* 查看etc办理成功列表 */
export const getEtcokList = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctccaretcdao/getEtcokList',
    data: data,
    type: 'post'
  })
}
/* 查看自己车牌号是否办理过etc */
export const getEtccount = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctccaretcdao/getEtccount',
    data: data,
    type: 'post'
  })
}
/* 首先创建企业 */
export const getenterpriseinfo = (data) => {
  return axios.request({
    url: '/api/uc/ctc/ctcEnterpriseService/getenterpriseinfo',
    data: data,
    type: 'post'
  })
}
/* 创建企业 */
export const saveEnterprise = (data) => {
  return axios.request({
    url: '/api/uc/ctc/ctcEnterpriseService/saveEnterprise',
    data: data,
    type: 'post'
  })
}

/* 密码登录 */
export const verifyPassword = (data) => {
  return axios.request({
    url: '/api/uc/ctc/ctcEnterpriseService/verifyPassword',
    data: data,
    type: 'post'
  })
}

/* 个人基本信息 */
export const saveEnterpriseperson = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcenterprise/saveEnterpriseperson',
    data: data,
    type: 'post'
  })
}
/* 确认病例 */
export const getconfirmedList = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctccaretcdao/getconfirmedList',
    data: data,
    type: 'post'
  })
}
/* 查看区域有多少个确诊地点 */
export const getcountList = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctccaretcdao/getcountList',
    data: data,
    type: 'post'
  })
}
